﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;

namespace Snowing.Json.Converters
{
    public class DateListConverter : JsonConverter<IList<DateTime>>
    {
        public override IList<DateTime> ReadJson(JsonReader reader, Type objectType, [AllowNull] IList<DateTime> existingValue, bool hasExistingValue, JsonSerializer serializer)
        {
            IList<DateTime> dates = serializer.Deserialize<IList<DateTime>>(reader);
                

            throw new NotImplementedException();
        }

        public override void WriteJson(JsonWriter writer, [AllowNull] IList<DateTime> value, JsonSerializer serializer)
        {
            throw new NotImplementedException();
        }
    }
}
